Maciej Główka
Blog Games Contact
revit api dynamo machine learning generative python blender javascript webdev rust bevy gamedev android
Nov. 10, 2020

Sunlight hours analysis with Revit Analysis Visualisation Framework

Just a small post to accompany the Youtube video where I explain the workflow.In short – I show how to perform sunlight hour analysis using two built-in tools in Revit – Analysis Visualisation Framework and Solar Study. I bridge the tiny software gap between then with the help of the little C# macro, included below.Enjoy! (and keep in mind I am no native English speaker:) https://www.youtube.com…
Nov. 2, 2020

Onion nodes – tag on multiple views workflow

To continue Revit tagging topic I want to show in this post how to easily tag automatically using our Onion package. The package contains Elements.FindNotTagged node that lets us search for not tagged elements in a list of views, by category. (please keep in mind that this workflow will not work for spatial elements, like rooms or spaces unfortunately).I going to use Revit advanced architectural …
Oct. 10, 2020

Purge view templates in Revit

So, you cannot purge view templates in ‘out of the box’ Revit. I have just learned recently. Probably I have never needed it before, but recently I did.I have no idea why this function would be missing, but it is very easy to implement in API. You can use a C# macro manager for that perfectly fine, but somehow it seemed faster for me just to use a python node in Dynamo.The procedure is simple. Fi…
Aug. 19, 2020

Tag rooms in multiple views

So recently in the comments below post on tagging through multiple views some questions have been asked about doing same for rooms. For some reason room tags in Revit are a different kind of element than other tags.Anyways, I have tried to give an answer in the comments section but it didn’t seem to work. So I have tried one more time and now it works! (at least in Revit 2019). Here is the …
June 30, 2020

Tedious tasks you can automate in Revit

So, Revit offers now a number of different automation tools – Dynamo, C# macros, custom add-ins. But how does that affect everyday design life? There is a lot of attention, of course, towards visually attractive stuff like generative design, complex form shaping etc. But later down the road comes the tedious drafting part – especially in case of the larger projects. Countless tagging, dimensionin…
June 8, 2020

Onion nodes – AutoJoin workflows

We have recently released an update to our Dynamo node package – Onion. It can be found in the standard package manager.Now, we want to show some possible workflows with the package – starting with AutoJoin nodes.Join intersecting elements automaticallySo, let’s say you have a large architectural model and want to generate a few sections. One of the things you have to do in order to make it look …
Dec. 11, 2019

Hosts from linked files

Recently there has been a question asked on the Dynamo forums about placing elements on linked hosts in Revit. After some digging it occurred that it is possible with some “reference stable representation” tinkering. Actually, the reference conversion process is similar as in the case of linked element dimensioning. It has been described in detail in an earlier post: http://lubim.co/2019/02/12/di…
Nov. 11, 2019

Tagging on multiple views with Dynamo

One of the most useful built-in automations in Revit is the “Tag All Not Tagged” command. However it tags elements in the active view only. In larger projects we often have dozens of views where we have to repeat the procedure. Therefore I have tried to create a Dynamo/Python script that can work on a view list and tag elements missing annotation.The Dynamo definition is really simple here. We ju…
Sept. 18, 2019

Extracting data from OSM file with Dynamo and Python

While there are some great packages available, like Elk or DynaMaps, to do the task – sometimes we need some data that is not possible to obtain with them. In this post I am gonna show a method to extract necessary data using Python.For parsing a XML file I am gonna use a standard Python library called xml.etree.ElementTree. In the example I will extract building boundaries and their floor …
Sept. 10, 2019

Auto-dimensioning rooms with Dynamo and Python

In this post (series I hope) I want to share some thoughts on possibilities of adding dimensions to rooms in Revit automatically. It is not a trivial task in my opinion, especially that there is no single good solution! Today I want to present a script that, in most cases, is going to dimension rooms along their cardinal directions.So, in the example below it would mean measuring each room twice …
older →